package org.onionframework.persistence.service;

import javax.annotation.PostConstruct;

import org.onionframework.persistence.dao.FoodDao;
import org.onionframework.persistence.model.Food;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class FoodService extends GenericServiceImpl<Food> {

	@Autowired private FoodDao foodDao;
	
	@PostConstruct
	public void init(){
		super.setDao(this.foodDao);
	}
}
